package com.gk.panda.pojo.patrol.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author dubin
 * @create 2022-11-03 14:00
 */
@Data
public class DetailListDTO {
    /**
     * 巡护编号
     */
    @ApiModelProperty(value = "巡护编号")
    private String patrolNum;

    private Long patrolId;

    /**
     * 总站机构
     */
    @ApiModelProperty(value = "总站机构")
    private String totalOrg;

    /**
     * 巡护开始时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date startTime;

    /**
     * 巡护结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date endTime;
    /**
     * 巡护总时长
     */
    @ApiModelProperty(value = "巡护总时长")
    private String dateSum;
    /**
     * 巡护时间   2022-11-2 11:27 ~ 2022-11-2 11:27
     */
    @ApiModelProperty(value = "巡护时间  2022-11-2 11:27 ~ 2022-11-2 11:27 ")
    private String patrolDate;

    /**
     * 巡护路程
     */
    @ApiModelProperty(value = "巡护路程")
    private String route;
    /**
     * 样线线路
     */
    @ApiModelProperty(value = "样线线路")
    private String line;

    /**
     * 巡护人员
     */

    private String people;

    /**
     * 其他人员
     */
    private String othersPeople;
    /**
     * 参与人员
     */
    @ApiModelProperty(value = "参与人员")
    private String join;
    @ApiModelProperty(value = "参与人员数组")
    private List<String> peopleNames;
    /**
     * 参与人数
     */
    private Integer numberOf;

    /**
     * 联合单位
     */
    @ApiModelProperty(value = "联合单位")
    private String unit;
    /**
     * 巡护类型
     */
    @ApiModelProperty(value = "巡护类型")
    private String type;
    /**
     * 巡护类型
     */
    @ApiModelProperty(value = "巡护类型")
    private String patrolName;

    /**
     * 海拔高差
     */
    @ApiModelProperty(value = "海拔高差")
    private String height;
    /**
     * 开始纬度
     */
    @ApiModelProperty(value = "开始纬度")
    private String startLat;

    /**
     * 开始经度
     */
    @ApiModelProperty(value = "开始经度")
    private String startLon;

    /**
     * 结束纬度
     */
    @ApiModelProperty(value = "结束纬度")
    private String endLat;

    /**
     * 结束经度
     */
    @ApiModelProperty(value = "结束经度")
    private String endLon;
    /**
     * 事件坐标
     */
    @ApiModelProperty(value = "事件坐标")
    private List<PointDTO> pointList;
    /**
     * 用时，记录毫秒值
     */

    private Long whenTime;
    /**
     * 巡护整体情况
     */
    public String situation;

    /**
     * 巡护备注
     */
    public String remark;
    /**
     * 覆盖面积
     */
    private String coverArea;


    private String createBy;

    private String state;

    private String stateDesc;
    //事件集合
    @ApiModelProperty(value = "事件集合")
    private List<ReportDTO> reportDTOList;


    @ApiModelProperty(value = "巡护名称")
    private String name;
  
    @ApiModelProperty(value = "巡护主题")
    private String theme;


}
